<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="../Main/top.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript" src="CourseCategory.js"></script>
<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：编辑分类</span></div>
<div class="function_content">

<div class="addItem"><img src="../images/return_icon.png"><a href="listCourseCategory.action?intercept=1">返回列表</a></div>

<span class="important_info">注：带*项为必填信息!</span>

<form action="updateCourseCategory.action" method="post" id="demo">
<s:hidden name="courseCategory.courseCateId"></s:hidden>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="loginTable">
    <tr>
      <td width="15%" align="right" class="leftBg"><span class="important_info">*</span>课程分类名称：</td>
      <td ><s:textfield name="courseCategory.courseCateName" size="100"></s:textfield></td>    
	</tr>
    <tr id="isPublicLine">
      <td align="right" class="leftBg"><span class="important_info">*</span>是否为公共课程：</td>
      <td>
<s:if test="%{courseCategory.isPublic==1}">
<input type="radio" name="courseCategory.isPublic" value="1" class="no_border" id="isPublic1" checked="checked">是
<input type="radio" name="courseCategory.isPublic" value="0" class="no_border" id="isPublic0">否
</s:if>
<s:elseif test="%{courseCategory.isPublic==0}">
<input type="radio" name="courseCategory.isPublic" value="1" class="no_border" id="isPublic1" >是
<input type="radio" name="courseCategory.isPublic" value="0" class="no_border" id="isPublic0" checked="checked">否
</s:elseif>
<span id="errMsg"></span>
	  </td>
    </tr>  
    <tr>
	      <td align="right" class="leftBg">课程分类描述：</td>
	      <td><s:textarea name="courseCategory.courseCateRemark"  rows="5" cols="60"></s:textarea></td>
    	</tr> 
    <tr>
	  <td align="right">&nbsp;</td>
      <td>
        <input type="submit" name="submit" id="submit" value="修改" class="deal_button">
        <input type="reset" name="reset" id="reset" value="重置" class="deal_button">
      </td>
    </tr>
  </table>
</form>
</div>


<%@ include file="../Main/bottom.jsp"%>